﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace aaaSoft.SkinEngine
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnStartEngine_Click(object sender, EventArgs e)
        {
            skinEngine.IsUseSkin = true;
        }

        private void btnStopEngine_Click(object sender, EventArgs e)
        {
            skinEngine.IsUseSkin = false;
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            Environment.Exit(0);
        }

        private void trackBar1_ValueChanged(object sender, EventArgs e)
        {
            progressBar1.Value = progressBar1.Maximum * trackBar1.Value / trackBar1.Maximum;
        }
    }
}
